<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 * Class Message
 *
 * @package App
 * @method static \Illuminate\Database\Query\Builder|User find($id, $columns = ['*'])
 * @property int $id
 * @property int $from 消息发送者
 * @property int $to 消息接收者
 * @property string $title 标题
 * @property string $content
 * @property string $target_type 目标类型
 * @property int $target_id 目标id
 * @property int $is_read 0未读1已读
 * @property int $is_handle 0未处理1处理
 * @property string|null $read_at 阅读时间
 * @property \Carbon\Carbon|null $created_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereFrom($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereIsRead($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereReadAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereTargetId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereTargetType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereTo($value)
 * @mixin \Eloquent
 * @property \Carbon\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Message whereIsHandle($value)
 */
class Message extends Model
{
    protected $table="message";

}



































































